package com.nzd.slsharing.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nzd.slsharing.pojo.LearningExchange;
import com.nzd.slsharing.pojo.LifeSharing;


public interface LifeSharingService extends IService<LifeSharing> {

    /**
     * 分页获取所有生活分享帖子（带条件）
     */
    IPage<LifeSharing> getUsersLifeSharingS(Page<LifeSharing> pageParam, String name);

    /**
     * 分页获取所有生活分享帖子（不带条件）
     */
    IPage<LifeSharing> getUsersLifeSharingS(Page<LifeSharing> pageParam);


}
